package com.kaka.bus.bean;

/**
 * Created by zhangqi on 2016/10/28.
 */

public class IdcardGongAn {

    /**
     * request_id : TID8bf47ab6eda64476973cc5f5b6ebf57e
     * status : OK
     * confidence : 0.312779
     * selfie : {"image_id":"xxxxx"}
     * identity : {"validity":true,"photo_id":"6963927a2b1e4fbc9abd9ff15638a2b5","reason":"xxx"}
     */

    private String request_id;
    private String status;
    private double confidence;
    /**
     * image_id : xxxxx
     */

    private SelfieBean selfie;
    /**
     * validity : true
     * photo_id : 6963927a2b1e4fbc9abd9ff15638a2b5
     * reason : xxx
     */

    private IdentityBean identity;

    public String getRequest_id() {
        return request_id;
    }

    public void setRequest_id(String request_id) {
        this.request_id = request_id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public double getConfidence() {
        return confidence;
    }

    public void setConfidence(double confidence) {
        this.confidence = confidence;
    }

    public SelfieBean getSelfie() {
        return selfie;
    }

    public void setSelfie(SelfieBean selfie) {
        this.selfie = selfie;
    }

    public IdentityBean getIdentity() {
        return identity;
    }

    public void setIdentity(IdentityBean identity) {
        this.identity = identity;
    }

    public static class SelfieBean {
        private String image_id;

        public String getImage_id() {
            return image_id;
        }

        public void setImage_id(String image_id) {
            this.image_id = image_id;
        }
    }

    public static class IdentityBean {
        private boolean validity;
        private String photo_id;
        private String reason;

        public boolean isValidity() {
            return validity;
        }

        public void setValidity(boolean validity) {
            this.validity = validity;
        }

        public String getPhoto_id() {
            return photo_id;
        }

        public void setPhoto_id(String photo_id) {
            this.photo_id = photo_id;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }
    }
}
